.page-login {

  /* 登录 */
  .login {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 1000;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;

    .login-box {
      position: relative;
      z-index: 10000;
      background: #fff;
      padding: 10px 10px 50px;

      .close {
        position: absolute;
        right: 10px;
        top: 10px;
        width: 20px;
        height: 20px;
        background: url(@/assets/images/icons.png) no-repeat 4px -228px;
        cursor: pointer;
      }

      .login-header {
        margin-top: 20px;
        padding: 0 20px;
        display: flex;
        width: 316px;

        .item {
          flex: 1;
          text-align: center;
          font-size: 18px;
          color: #666;
          cursor: pointer;
          position: relative;

          &:first-child {
            padding: 10px 10px 10px 10px;

            &::after {
              position: absolute;
              right: 0;
              top: 12px;
              bottom: 12px;
              width: 1px;
              height: auto;
              display: block;
              content: " ";
              font-size: 0;
              background: #eee;
            }
          }

          &:last-child {
            padding: 10px 10px 10px 10px;
          }
        }

        .item.active {
          color: #e1251b;
        }
      }

      .login-con {
        padding: 40px 30px;

        .item {
          position: relative;
          margin-top: 15px;
          border-radius: 2px;

          &:first-child {
            margin-top: 0;
          }

          .icon {
            position: absolute;
            left: 0;
            top: 1px;
            width: 44px;
            text-align: center;
            height: 34px;

            &::before {
              position: absolute;
              top: 8px;
              left: 15px;
              display: block;
              width: 14px;
              height: 18px;
              content: " ";
              background: url(@/assets/images/icons.png) no-repeat;
            }
          }

          .input {
            border: 1px solid #e8e8e8;
            width: 206px;
            height: 34px;
            padding: 0 44px;
          }
        }

        .item.phone {
          .icon {
            &::before {
              background-position: -38px -513px;
            }
          }
        }

        .item.account {
          .icon {
            &::before {
              background-position: 0 -513px;
            }
          }
        }

        .item.code {
          .icon {
            &::before {
              background-position: -19px -513px;
            }
          }

          .input {
            padding-right: 10px;
            width: 150px;
          }
        }

        .item.password {
          .icon {
            &::before {
              background-position: -19px -513px;
            }
          }
        }

        .cancel {
          position: absolute;
          right: 0;
          top: 1px;
          width: 44px;
          height: 34px;
          cursor: pointer;

          &::before {
            position: absolute;
            top: 9px;
            left: 14px;
            display: block;
            width: 16px;
            height: 16px;
            content: " ";
            background: url(@/assets/images/icons.png) no-repeat -56px -515px;
          }
        }

        .send-code {
          position: absolute;
          right: 0;
          top: 0;
          background: #f9f9f9;
          border: 1px solid #eee;
          border-left: 0;
          width: 89px;
          height: 34px;
          line-height: 34px;
          text-align: center;

          &:hover {
            color: #e1251b;
          }
        }

        .msg-error {
          .input {
            border-color: #e1251b;
          }
        }

        .item.img-code {
          .input {
            padding-left: 10px;
            padding-right: 10px;
            width: 183px;
          }

          .code-img {
            position: absolute;
            right: 0;
            top: 0;
            width: 91px;
            height: 36px;
            font-size: 0;

            img {
              width: 100%;
              height: 100%;
            }
          }
        }

        .error {
          margin-top: 10px;
          padding-left: 23px;
          position: relative;
          color: #e1251b;
          height: 16px;
          line-height: 16px;

          &::before {
            position: absolute;
            left: 2px;
            top: 1px;
            display: block;
            width: 14px;
            height: 14px;
            content: " ";
            background: url(@/assets/images/icons.png) no-repeat -77px -517px;
          }
        }

        .login-button {
          display: block;
          margin-top: 35px;
          background: #e1251b;
          color: #fff;
          text-align: center;
          border-radius: 2px;
          height: 48px;
          line-height: 48px;
          font-size: 18px;
          letter-spacing: 5px;

          &:hover {
            opacity: 0.9;
          }
        }

        .agree-box {
          display: flex;
          align-items: flex-start;
          margin-top: 10px;
          font-size: 12px;
          line-height: 15px;

          .text {
            color: #999;

            .agreement {
              color: #000;

              &:hover {
                text-decoration: underline;
              }
            }
          }
        }

        .agree-box-en {
          width: 290px !important;
          line-height: 20px !important;

          &:deep(.el-checkbox) {
            padding-top: 3px;
          }
        }

        &:deep(.el-checkbox) {
          height: 14px;
          margin-right: 5px;
        }

        &:deep(.el-checkbox__input.is-checked) {
          .el-checkbox__inner {
            background-color: #e1251b;
            border-color: #e1251b;
          }
        }

        &:deep(.el-checkbox__input) {
          .el-checkbox__inner {
            &:hover {
              border-color: #e1251b;
            }
          }
        }
      }

      .login-footer {
        height: 51px;
        background: #fcfcfc;
        border-top: 1px solid #eee;
        position: absolute;
        width: 100%;
        bottom: 0;
        left: 0;
        display: flex;
        padding: 0 32px;
        box-sizing: border-box;

        .other-login {
          flex: 1;
          display: flex;
          align-items: center;

          .item {
            display: block;
            height: 18px;
            line-height: 18px;
            margin-left: 25px;
            padding-left: 24px;
            position: relative;
            color: #999;

            &:hover {
              color: #000;
            }

            &:first-child {
              margin-left: 10px;
            }

            &::before {
              position: absolute;
              top: 0;
              left: 0;
              content: " ";
              font-size: 0;
              display: block;
              width: 18px;
              height: 18px;
              background: url(@/assets/images/icons.png) no-repeat;
            }

            &::after {
              position: absolute;
              top: 3px;
              right: -13px;
              content: " ";
              font-size: 0;
              display: block;
              width: 1px;
              height: 14px;
              background: #ddd;
            }

            &:last-child {
              &::after {
                width: 0;
              }
            }
          }

          .item.qq-login {
            &::before {
              background-position: 0 -536px;
            }
          }

          .item.weixin-login {
            &::before {
              background-position: -23px -536px;
            }
          }
        }

        .footer-a {
          display: block;
          line-height: 50px;
          margin-right: 10px;
          color: #999;

          &:hover {
            color: #000;
          }
        }
      }
    }
  }

  /* 登录 end */


  /* 页面登录 */
  .login-page {
    .l-header {
      background: #fff;
      box-shadow: 0 3px 5px rgba(0, 0, 0, 0.05);

      .content {
        display: flex;
        padding: 20px 0;
        align-items: center;
      }

      .logo {
        cursor: pointer;
        flex: 1;
        display: flex;
        margin-right: 60%;

        .img {
          display: inline-block;
          vertical-align: top;
          width: 190px;
          height: 48px;
          background-size: 100%;
        }

        .text {
          font-size: 0;
          display: inline-block;
          vertical-align: top;
          line-height: 48px;
          margin-left: 5px;
        }
      }

      .go-register {
        font-size: 14px;

        .register-btn {
          font-size: 13px;
          display: inline-block;
          padding: 6px 22px;
          background: #e1251b;
          color: #fff;
          border-radius: 30px;
          margin-left: 7px;
        }
      }
    }

    .l-content {
      width: 100%;
      height: 600px;
      position: relative;
      background-repeat: no-repeat;
      background-size: 100% 100%;

      .login {
        width: 1200px;
        height: 100%;
        margin: auto;
        z-index: 99;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        position: relative;

        .login-box {
          .login-con {
            padding: 30px 30px 40px;
          }
        }
      }
    }

    .l-footer {
      position: fixed;
      bottom: 0;
      right: 0;
      left: 0;
      text-align: center;
      color: #999;
      padding-bottom: 30px;
      margin-top: 30px;

      .links {
        height: 20px;
        line-height: 20px;
        margin-bottom: 10px;

        .item {
          display: inline-block;
          vertical-align: top;
          padding: 0 11px 0 10px;
          position: relative;

          &::after {
            position: absolute;
            right: -1px;
            top: 4px;
            bottom: 4px;
            display: block;
            width: 1px;
            height: auto;
            content: " ";
            background: #ddd;
          }

          &:last-child {
            &::after {
              width: 0;
            }
          }

          &:hover {
            text-decoration: underline;
          }
        }
      }

      .copyright {
        font-family: arial;
      }
    }
  }

  .content {
    margin-bottom: 0;
  }

  /* 页面登录 end */
}
